package com.situ.ymall.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Mapper
@Repository
public interface PicMapper {

    @Select({
            "select name from goods_picture",
            "union",
            "select picture from goods_sort",
            "union",
            "select head from user",
            "union",
            "select head from root"
    })
    List<Map<String,String>> selectAll();
}
